<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta charset="UTF-8">
    <title>test list</title>
    <link rel="stylesheet" href="/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/css/public.css">
    <link rel="stylesheet" href="/css/admin/test.css">
</head>
<body class="layui-layout-body" onload="loadPage()">
<div class="layui-layout layui-layout-admin">
    <div class="layui-header"></div>
    <div class="layui-side layui-bg-black"></div>
    <div class="layui-body">
        <div class="body-container">试题管理</div>
        <div class="body-box">
            <div class="layui-col-lg2">
                <div class="create-test" onclick="showLayout($('.layout'))">点击创建试题</div>
            </div>
            <div class="layui-col-lg10">
                <table class="layui-hide" id="tp" lay-filter="tp"></table>
                <script type="text/html" id="tp-tool">
                    <div class="layui-btn-group">
                        <button type="button" class="layui-btn layui-btn-sm" lay-event="detail">详情</button>
                    </div>
                </script>
                <div id="tp-page"></div>
            </div>
        </div>
    </div>
</div>
<div class="layout">
    <div class="layout-background background-hide layui-hide" onclick="hideLayout($('.layout'))"></div>
    <div class="layout-box box-hide" style="width: 60%;height: 65vh">
        <div class="layout-container">
            <form action="javascript:void(0)" class="layui-form">
                <div class="layui-col-lg6">
                    <a href="javascript:void(0)" onclick="loadTestClazz()">从题库中抽取</a>
                </div>
                <div class="layui-col-lg6">
                    <a href="/teacher-action/customer-paper">自定义试题</a>
                </div>
            </form>
        </div>
    </div>
</div>
<div class="required">
    <div class="layout-background background-hide layui-hide" onclick="hideLayout($('.required'))"></div>
    <div class="layout-box box-hide">
        <form action="javascript:void(0)" class="layui-form">
            <div class="layout-header">
                <div class="layout-title"></div>
                <div class="layout-close"></div>
            </div>
            <div class="layout-container">
                <div class="layui-form-item">
                    <label class="layui-form-label">科目</label>
                    <div class="layui-input-block">
                        <select name="testClazz" title=""></select>
                    </div>
                </div>
            </div>
            <div class="layout-footer">
                <button class="layui-btn layui-btn-primary layui-btn-radius" lay-submit lay-filter="random">
                    确定生成
                </button>
                <button class="layui-btn layui-btn-normal layui-btn-radius" onclick="hideLayout($('.required'))">
                    取消
                </button>
            </div>
        </form>
    </div>
</div>
<script src="/js/jquery.min.js"></script>
<script src="/js/jquery-ui.min.js"></script>
<script src="/plugins/layui/layui.js"></script>
<script src="/js/public.js"></script>
<script src="/js/admin/test.js"></script>
</body>
</html>